package cn.ming.wfchat.app.login.model;


/**
 * 真-model，code啊，message之类的，放到了status里面去了
 */
public class LoginResult {

    /**
     * token : 3BF2+zE+HY3nFYXgi4P/Fn4Zaw7A6WWXF+Qy+NiJplB1JJb2Cw6rMAQhpGw1p9SG2aKU0XTbGZE60ll63nk96301XdRE+uzUUXOeCG3xwNlZxFPNEEDgO/s1CU0BYMmj1RBzbflKR30ARiJYErLYfgOoP4GkYwn/tfYzScnQeto71yB0NWBnTt78UlHUzL3f
     * aliyunOssSTSAK : {"endpoint":"H4wxAwIScMcer8ZCSgsncMYaSRTUnVP/b+EP7BoM7ic=","accessKeyId":"V12IpCh32I4a8N7IQgJuilNO0K2GlaGklT07Sg3BlnA=","accessKeySecret":"JfAJvBGnS2ZuNLYAUE8nAxPKOUZkiGnFtC64PshHZX8=","bucketName":"PW8sY5QrDbbQAur5escl3w=="}
     * passwordResp : {"lockPasswordEnable":false,"lockPassword":null,"destroyPasswordEnable":false,"destroyPassword":null}
     */

    private String token;
    private String userId;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    private AliyunOssSTSAKBean aliyunOssSTSAK;
    private PasswordRespBean passwordResp;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public AliyunOssSTSAKBean getAliyunOssSTSAK() {
        return aliyunOssSTSAK;
    }

    public void setAliyunOssSTSAK(AliyunOssSTSAKBean aliyunOssSTSAK) {
        this.aliyunOssSTSAK = aliyunOssSTSAK;
    }

    public PasswordRespBean getPasswordResp() {
        return passwordResp;
    }

    public void setPasswordResp(PasswordRespBean passwordResp) {
        this.passwordResp = passwordResp;
    }

    public static class AliyunOssSTSAKBean {
        /**
         * endpoint : H4wxAwIScMcer8ZCSgsncMYaSRTUnVP/b+EP7BoM7ic=
         * accessKeyId : V12IpCh32I4a8N7IQgJuilNO0K2GlaGklT07Sg3BlnA=
         * accessKeySecret : JfAJvBGnS2ZuNLYAUE8nAxPKOUZkiGnFtC64PshHZX8=
         * bucketName : PW8sY5QrDbbQAur5escl3w==
         */

        private String endpoint;
        private String accessKeyId;
        private String accessKeySecret;
        private String bucketName;

        public String getEndpoint() {
            return endpoint;
        }

        public void setEndpoint(String endpoint) {
            this.endpoint = endpoint;
        }

        public String getAccessKeyId() {
            return accessKeyId;
        }

        public void setAccessKeyId(String accessKeyId) {
            this.accessKeyId = accessKeyId;
        }

        public String getAccessKeySecret() {
            return accessKeySecret;
        }

        public void setAccessKeySecret(String accessKeySecret) {
            this.accessKeySecret = accessKeySecret;
        }

        public String getBucketName() {
            return bucketName;
        }

        public void setBucketName(String bucketName) {
            this.bucketName = bucketName;
        }
    }

    public static class PasswordRespBean {
        /**
         * lockPasswordEnable : false
         * lockPassword : null
         * destroyPasswordEnable : false
         * destroyPassword : null
         * loginPassword
         */

        private boolean lockPasswordEnable;
        private String lockPassword;
        private boolean destroyPasswordEnable;
        private String  destroyPassword;
        private boolean payPasswordEnable;

        public boolean isLoginPassword() {
            return loginPassword;
        }

        public void setLoginPassword(boolean loginPassword) {
            this.loginPassword = loginPassword;
        }

        private boolean loginPassword;



        public boolean isPayPasswordEnable() {
            return payPasswordEnable;
        }

        public void setPayPasswordEnable(boolean payPasswordEnable) {
            this.payPasswordEnable = payPasswordEnable;
        }

        public boolean isLockPasswordEnable() {
            return lockPasswordEnable;
        }

        public void setLockPasswordEnable(boolean lockPasswordEnable) {
            this.lockPasswordEnable = lockPasswordEnable;
        }

        public String getLockPassword() {
            return lockPassword;
        }

        public void setLockPassword(String lockPassword) {
            this.lockPassword = lockPassword;
        }

        public boolean isDestroyPasswordEnable() {
            return destroyPasswordEnable;
        }

        public void setDestroyPasswordEnable(boolean destroyPasswordEnable) {
            this.destroyPasswordEnable = destroyPasswordEnable;
        }

        public String getDestroyPassword() {
            return destroyPassword;
        }

        public void setDestroyPassword(String destroyPassword) {
            this.destroyPassword = destroyPassword;
        }
    }
}
